/*
 * createTime: 2020/08/25 9:42
 * description: 公告
 */

import { BaseService, Service } from '@/service/request';

@Service('app/announcement')
export default class extends BaseService {
    // 公告列表
    display(data) {
        return this.request({
            url: '/display',
            method: 'GET',
            data
        });
    }
    // 公告核销
    award(data) {
        return this.request({
            url: '/award',
            method: 'POST',
            data
        });
    }
}